/*
 * Equipement.h
 *
 *  Created on: Jun 9, 2013
 *      Author: juliendubois
 */

#ifndef EQUIPEMENT_H_
#define EQUIPEMENT_H_

#include "../Attribut/Attribut.h"
#include "../Attaque/Attaque.h"

using Attribut::AttributArmure;
using Attribut::PenetrationArmure;
using Attribut::Force;
using Attaque::Tir;

namespace Equipement {

class Equipement {
public:
	Equipement() {};
	virtual ~Equipement();
};

class Armure : public Equipement {
protected:
	AttributArmure armure;

public:
	Armure(double armure) : Equipement(), armure(armure) {};
	virtual ~Armure();

	double absorbe(double force);
};

class Arme : public Equipement {
protected:
	Force force;
	PenetrationArmure penetration;

public:
	Arme();
	virtual ~Arme();

	Tir tir();
};

}


#endif /* EQUIPEMENT_H_ */
